import Cookies from 'js-cookie'
// axios
import request from '@/utils/request'

export function toLogin(data) {
  return request({
    url: '/plat/auth/token',
    method: 'post',
    data
  })
}
